package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;

import java.util.List;

public interface RoleService {
    void addaddPermission(Integer id, Integer[] permissions);

    PageResult findPage(QueryPageBean bean);

    List<Permission> findById(Integer id);

}
